home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / FPGAWKII.ZIP / CONTROL.PDS < prev    next >
Text File  |  1995-02-15  |  1KB  |  43 lines

  1. ; This example demonstrates situations
  2. ; where the PLDshell design compiler can
  3. ; and cannot fit a design to the EPX780
  4. ; due to constraints on the control
  5. ; signals. Essentially, all preset, clear,
  6. ; clock, and tristate controls can only
  7. ; include a single product term.
  8. ;
  9. ; SET COMPILER OPTIONS TO:
  10. ;  Use Design Pin Assignments, but not
  11. ;               Previous, Abort on no fit
  12.  
  13. CHIP product NFX780_84
  14.  
  15. PIN    a[0:7]  ; eight inputs
  16. PIN 82 o1      ; first output
  17.  
  18. EQUATIONS
  19.  
  20. ; o1 is in registered mode, so the
  21. ; flip-flop is strobed by the clock
  22. o1 := a0*a1 + a1*a2 + a2*a3 + a3*a4
  23.  
  24. ; this describes the asynchronous clock
  25. ; which can only have a single product term
  26. ; o1.ACLK = a5*a6 + a6*a7  ; this doesn't fit!
  27. o1.ACLK = a5*a6  ; this fits!
  28.  
  29. ; this describes the preset term which can
  30. ; only have a single product term
  31. ; o1.SETF = a5*a6 + a6*a7  ; this doesn't fit!
  32. o1.SETF = a5*a6  ; this fits!
  33.  
  34. ; this describes the clear term which can
  35. ; only have a single product term
  36. ; o1.RSTF = a5*a6 + a6*a7  ; this doesn't fit!
  37. o1.RSTF = a5*a6  ; this fits!
  38.  
  39. ; this describes the tristate enable term
  40. ; which can only have a single product term
  41. ; o1.TRST = a5*a6 + a6*a7  ; this doesn't fit!
  42. o1.TRST = a5*a6  ; this fits!
  43.